using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NodeBasedSkillEditor.Model.Node
{
    [Node(Category = DAGHelper.CateName_Convert, Name = "Boolean[] to Integer[]")]
    public class Node_List_BooleanToInteger : NodeData
    {
        [Port(IOType = EPortIOType.Input, IsListPort = true, ContextMode = EPortContextMode.Relay)]
        public BooleanPort BooleanList = new BooleanPort();

        [Port(IOType = EPortIOType.Output, IsListPort = true, ContextMode = EPortContextMode.Relay)]
        public IntegerPort IntegerList = new IntegerPort();

        public override RT_Node BuildRuntimeNode(RT_DAG parentDAG)
        {
            return new RT.Node_List_BooleanToInteger_RT(this, parentDAG);
        }
    }
}
